package com.java.ext;

import java.awt.Color;
import java.awt.Font;
import java.util.Vector;

import javax.swing.JTable;
import javax.swing.ListSelectionModel;
import javax.swing.table.TableColumnModel;
import javax.swing.table.TableModel;

public class MyJTable extends JTable {
	private static final long serialVersionUID = -102157822861595768L;

	public MyJTable() {
		super();
	}

	public MyJTable(int numRows, int numColumns) {
		super(numRows, numColumns);
	}

	public MyJTable(Object[][] rowData, Object[] columnNames) {
		super(rowData, columnNames);
	}

	public MyJTable(TableModel dm, TableColumnModel cm, ListSelectionModel sm) {
		super(dm, cm, sm);
	}

	public MyJTable(TableModel dm, TableColumnModel cm) {
		super(dm, cm);
		setSelectionBackground(new Color(207, 251, 255));
		setFont(new Font("Serif", Font.BOLD, 16));  
	}

	public MyJTable(TableModel dm) {
		super(dm);
		setSelectionBackground(new Color(207, 251, 255));
	}

	public MyJTable(Vector<? extends Vector<?>> rowData, Vector<?> columnNames) {
		super(rowData, columnNames);
	}
	
	

}
